<template>
  <zh-app>
    <view class="t-login">
      <!-- 页面装饰图片 -->
      <image class="img-a" src="./static/2.png"></image>
      <image class="img-b" src="./static/3.png"></image>
      <!-- 标题 -->
      <view class="content-title">{{ state.title }}</view>
      <view style="margin: 0rpx 60rpx">
        <Forget></Forget>
      </view>
    </view>
  </zh-app>
</template>
<script lang="ts" setup name="login1">
import { ref, reactive, onMounted } from 'vue';
import Forget from './component/forget.vue';
// ------------------接收传入参数(组件)-------------------

// ------------------钩子函数----------------------------
// 初始化
onMounted(() => {});

// ------------------变量区------------------------------
const state = reactive({
  title: '找回密码',
});
// ------------------方法区------------------------------
</script>
<style lang="scss" scoped>
.img-a {
  position: absolute;
  width: 100%;
  top: -180rpx;
  right: -80rpx;
  z-index: 1;
}
.img-b {
  position: absolute;
  width: 50%;
  bottom: 0;
  left: -50rpx;
  z-index: 1;
}
.t-login {
  width: 100%;
  margin: 0 auto;
  font-size: 28rpx;
  color: #000;
  background-color: #ffffff;
  height: 100vh;
}
.t-login .content-title {
  text-align: left;
  font-size: 46rpx;
  color: #000;
  padding: 220rpx 0 120rpx 60rpx;
  font-weight: bold;
}
.cardBox {
  position: absolute;
  width: 100%;
  bottom: 100rpx;
  z-index: 2;
}
</style>
